package org.biodas.jdas.client;

import org.biodas.jdas.schema.sources.SOURCES;

import org.biodas.jdas.exceptions.*;

/**
 * Created by IntelliJ IDEA.
 * User: ljgarcia
 * Date: 22-Feb-2011
 * Time: 12:05:30
 * To change this template use File | Settings | File Templates.
 */
public interface SourcesClientInterface {
    /**
     * Retrieves the sources for a data source.
     * @return
     * @throws DASClientException TODO
     * @throws Exception 
     */
    public SOURCES fetchData(String serverURL) throws ValidationException, DASClientException;

    /**
     * Retrieves the sources for a server, arguments allowed.
     * @param serverURL
     * @param capability
     * @param type
     * @param authority
     * @param version
     * @param organism
     * @param label
     * @return
     * @throws DASClientException TODO
     */
    public SOURCES fetchDataRegistry(String serverURL, String capability, String type
            , String authority, String version, String organism, String label) throws ValidationException, DASClientException ;
      
}
